package com.yidu.boss.sys.dao;


import com.yidu.boss.sys.domain.Custodian;
import com.yidu.boss.sys.domain.Trustee;
import com.yidu.boss.sys.domain.TrusteeExample;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

public interface TrusteeMapper {
    long countByExample(TrusteeExample example);

    int deleteByExample(TrusteeExample example);

    int deleteByPrimaryKey(String trusteeId);

    int insert(Trustee record);

    int insertSelective(Trustee record);

    List<Trustee> selectByExample(TrusteeExample example);

    Trustee selectByPrimaryKey(String trusteeId);

    int updateByExampleSelective(@Param("record") Trustee record, @Param("example") TrusteeExample example);

    int updateByExample(@Param("record") Trustee record, @Param("example") TrusteeExample example);

    int updateByPrimaryKeySelective(Trustee record);

    int updateByPrimaryKey(Trustee record);

    //模糊查询所有托管人信息
    List<Trustee> selectSomeByMore(String trustee);

    //查询所有
    List<Trustee> selectAll();
}